jsx3.Class.defineClass(
        "ux.megatron.gui.WizardFinishButton",
        ux.megatron.gui.WizardNavButton,
        null,
        function (button) {

            button.prototype.handleNav = function(objEvent, nextPanel) {
                objEvent.wizButton = this;
                //if (window.confirm(ux.megatron.Main.getServer().getDynamicProperty("@addin@Wizard Confirm",this.getText()))) { 
                    this.getWizard().doFinish(objEvent);
					if(this.getWizard().getMessageLabel().getText() == '') this.disable();
                //}
                /*
                var server = ux.megatron.Main.getServer();
                var me = this;
                ux.megatron.Dialog.confirm(
                    server.getDynamicProperty("@addin@Wizard Confirm Title"), 
                    server.getDynamicProperty("@addin@Wizard Confirm",me.getText()), 
                    function(dialog){
                        me.getWizard().doFinish(objEvent);
                        dialog.doClose();
                    }
               );
                */
            }
        }
);